﻿<div class="modal fade" id="myModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
    <div class="modal-dialog">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
                <h4 class="modal-title">Actual</h4>
            </div>

            <div class="modal-body">
                <!-- The form is placed inside the body of modal -->
                <form id="CheckValid" method="post" class="form-horizontal">
                    <input type="hidden" id="ID" name="ID" />
                    <div class="form-group">
                        <label class="col-md-3 control-label">InputPrice </label>
                        <div class="col-md-8">
                            <input type="text" id="InputPrice" class="form-control" name="InputPrice" placeholder="0" />
                        </div>
                    </div>
                    <div class="form-group">
                        <label class="col-md-3 control-label">InputQuantity </label>
                        <div class="col-md-8">
                            <input type="text" id="InputQuantity" class="form-control" name="InputQuantity" placeholder="0" />
                        </div>
                    </div>
                    <div class="form-group">
                        <label class="col-md-3 control-label">OutputQuantity </label>
                        <div class="col-md-8">
                            <input type="text" id="OutputQuantity" class="form-control" name="OutputQuantity" placeholder="0" />
                        </div>
                    </div>
                    <div class="form-group">
                        <label class="col-md-3 control-label">RemainQuantity </label>
                        <div class="col-md-8">
                            <input type="text" id="RemainQuantity" class="form-control" name="RemainQuantity" placeholder="0" />
                        </div>
                    </div>
                    <div class="form-group">
                        <label class="col-md-3 control-label">Stock</label>
                        <div class="col-md-8">
                            <select id="StockID" name="StockID" class="form-control">
                                @foreach (var item in ViewData["Stock"] as IEnumerable<Data.Models.Stock>)
                                { 
                                    <option value="@item.ID">@item.Name</option>
                                }
                            </select>
                        </div>
                    </div>
                    <div class="form-group">
                        <label class="col-md-3 control-label">Good</label>
                        <div class="col-md-8">
                            <select id="GoodID" name="GoodID" class="form-control">
                                @foreach (var item in ViewData["Good"] as IEnumerable<Data.Models.Good>)
                                { 
                                    <option value="@item.ID">@item.Name</option>
                                }
                            </select>
                        </div>
                    </div>
                    <div class="form-group">
                        <label class="col-md-3 control-label">Company </label>
                        <div class="col-md-8">
                            <select id="CompanyID" name="CompanyID" class="form-control">
                                @foreach (var item in ViewData["Company"] as IEnumerable<Data.Models.Company>)
                                { 
                                    <option value="@item.ID">@item.DisplayName</option>
                                }
                            </select>
                        </div>
                    </div>
                    <div class="form-group">
                        <label class="col-md-3 control-label">UOM</label>
                        <div class="col-md-8">
                            <select id="UOMID" name="UOMID" class="form-control">
                                @foreach (var item in ViewData["UOM"] as IEnumerable<Data.Models.UOM>)
                                { 
                                    <option value="@item.ID">@item.Name</option>
                                }
                            </select>
                        </div>
                    </div>
                    <div class="form-group">
                        <div class="col-md-8 col-md-offset-3">
                            @*  <button type="button" class="btn btn-default" onclick="AddCurrency()">Lưu</button>*@
                            <button type="submit" class="btn btn-default">Lưu</button>
                        </div>
                    </div>
                </form>
            </div>
        </div>
    </div>
</div>
